//! R-XShell - A Rust implementation of xshell-like functionality
//! 
//! This library provides a modular and extensible framework for shell operations
//! with a focus on type safety and performance.

pub mod command;
pub mod executor;
pub mod config;
pub mod error;
pub mod shell;
pub mod utils;
pub mod commands;

pub use command::Command;
pub use executor::Executor;
pub use config::Config;
pub use error::{Result, ShellError};
pub use shell::Shell;
pub use commands::{BuiltinCommand, CommandRegistry};

/// Re-export commonly used types
pub mod prelude {
    pub use crate::{
        Command, Executor, Config, Result, ShellError, Shell, BuiltinCommand, CommandRegistry
    };
}